package com.sj.purchase.modules.cost.bo;

import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import java.util.Date;

/**
 * Created by yangrd on 2017/10/27
 **/
public class CostPriceBO {

    private String skuNo;//sku编码

    @Temporal(TemporalType.TIMESTAMP)
    private Date createDate;//创建时间

    private Double avgCostPrice;//平均成本价

    private Long inventoryQty;//价格改变后的數量

    public CostPriceBO() {
    }

    public CostPriceBO(String skuNo, Date createDate, Double avgCostPrice, Long inventoryQty) {
        this.skuNo = skuNo;
        this.createDate = createDate;
        this.avgCostPrice = avgCostPrice;
        this.inventoryQty = inventoryQty;
    }

    public String getSkuNo() {
        return skuNo;
    }

    public CostPriceBO setSkuNo(String skuNo) {
        this.skuNo = skuNo;
        return this;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public CostPriceBO setCreateDate(Date createDate) {
        this.createDate = createDate;
        return this;
    }

    public Double getAvgCostPrice() {
        return avgCostPrice;
    }

    public CostPriceBO setAvgCostPrice(Double avgCostPrice) {
        this.avgCostPrice = avgCostPrice;
        return this;
    }

    public Long getInventoryQty() {
        return inventoryQty;
    }

    public CostPriceBO setInventoryQty(Long inventoryQty) {
        this.inventoryQty = inventoryQty;
        return this;
    }
}
